<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>API: widget-anim   WidgetAnim.js  (YUI Library)</title>

	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
	<link rel="stylesheet" type="text/css" href="assets/api.css" />

    <script type="text/javascript" src="assets/api-js"></script>
    <script type="text/javascript" src="assets/ac-js"></script>
</head>

<body id="yahoo-com">

<div id="doc3" class="yui-t2">
	<div id="hd">
        <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
        <h3>widget-anim&nbsp; <span class="subtitle">3.3.0</span></h3>
        <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
            &gt; <a href="./module_widget-anim.html" title="widget-anim">widget-anim</a>
                
                 &gt; WidgetAnim.js (source view) 
        <form onsubmit="return false">
            <div id="propertysearch">
                Search: <input autocomplete="off" id="searchinput" />
                <div id="searchresults">
                    &nbsp;
                </div>
            </div>
        </form>
	</div>

	<div id="bd">
		<div id="yui-main">
			<div class="yui-b">
            <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
                <fieldset>
                    <legend>Filters</legend>
                <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
                <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
                <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
                </fieldset>
            </form>

                    <div id="srcout">
                        <style>
                            #doc3 .classopts { display:none; }
                        </style>
                        <div class="highlight"><pre><span class="cm">/**</span>
<span class="cm"> * Provides a plugin which can be used to animate widget visibility changes.</span>
<span class="cm"> *</span>
<span class="cm"> * @module widget-anim</span>
<span class="cm"> */</span>
<span class="kd">var</span> <span class="nx">BOUNDING_BOX</span> <span class="o">=</span> <span class="s2">&quot;boundingBox&quot;</span><span class="p">,</span>
    <span class="nx">HOST</span> <span class="o">=</span> <span class="s2">&quot;host&quot;</span><span class="p">,</span>
    <span class="nx">NODE</span> <span class="o">=</span> <span class="s2">&quot;node&quot;</span><span class="p">,</span>
    <span class="nx">OPACITY</span> <span class="o">=</span> <span class="s2">&quot;opacity&quot;</span><span class="p">,</span>
    <span class="nx">EMPTY_STR</span> <span class="o">=</span> <span class="s2">&quot;&quot;</span><span class="p">,</span>
    <span class="nx">VISIBLE</span> <span class="o">=</span> <span class="s2">&quot;visible&quot;</span><span class="p">,</span>
    <span class="nx">DESTROY</span> <span class="o">=</span> <span class="s2">&quot;destroy&quot;</span><span class="p">,</span>
    <span class="nx">HIDDEN</span> <span class="o">=</span> <span class="s2">&quot;hidden&quot;</span><span class="p">,</span>

    <span class="nx">RENDERED</span> <span class="o">=</span> <span class="s2">&quot;rendered&quot;</span><span class="p">,</span>
    
    <span class="nx">START</span> <span class="o">=</span> <span class="s2">&quot;start&quot;</span><span class="p">,</span>
    <span class="nx">END</span> <span class="o">=</span> <span class="s2">&quot;end&quot;</span><span class="p">,</span>

    <span class="nx">DURATION</span> <span class="o">=</span> <span class="s2">&quot;duration&quot;</span><span class="p">,</span>
    <span class="nx">ANIM_SHOW</span> <span class="o">=</span> <span class="s2">&quot;animShow&quot;</span><span class="p">,</span>
    <span class="nx">ANIM_HIDE</span> <span class="o">=</span> <span class="s2">&quot;animHide&quot;</span><span class="p">,</span>

    <span class="nx">_UI_SET_VISIBLE</span> <span class="o">=</span> <span class="s2">&quot;_uiSetVisible&quot;</span><span class="p">,</span>
    
    <span class="nx">ANIM_SHOW_CHANGE</span> <span class="o">=</span> <span class="s2">&quot;animShowChange&quot;</span><span class="p">,</span>
    <span class="nx">ANIM_HIDE_CHANGE</span> <span class="o">=</span> <span class="s2">&quot;animHideChange&quot;</span><span class="p">;</span>

<span class="cm">/**</span>
<span class="cm"> * A plugin class which can be used to animate widget visibility changes.</span>
<span class="cm"> *</span>
<span class="cm"> * @class WidgetAnim</span>
<span class="cm"> * @extends Plugin.Base</span>
<span class="cm"> * @namespace Plugin</span>
<span class="cm"> */</span>
<span class="kd">function</span> <span class="nx">WidgetAnim</span><span class="p">(</span><span class="nx">config</span><span class="p">)</span> <span class="p">{</span>
    <span class="nx">WidgetAnim</span><span class="p">.</span><span class="nx">superclass</span><span class="p">.</span><span class="nx">constructor</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="k">this</span><span class="p">,</span> <span class="nx">arguments</span><span class="p">);</span>
<span class="p">}</span>

<span class="cm">/**</span>
<span class="cm"> * The namespace for the plugin. This will be the property on the widget, which will </span>
<span class="cm"> * reference the plugin instance, when it&#39;s plugged in.</span>
<span class="cm"> *</span>
<span class="cm"> * @property WidgetAnim.NS</span>
<span class="cm"> * @static</span>
<span class="cm"> * @type String</span>
<span class="cm"> * @default &quot;anim&quot;</span>
<span class="cm"> */</span>
<span class="nx">WidgetAnim</span><span class="p">.</span><span class="nx">NS</span> <span class="o">=</span> <span class="s2">&quot;anim&quot;</span><span class="p">;</span>

<span class="cm">/**</span>
<span class="cm"> * The NAME of the WidgetAnim class. Used to prefix events generated</span>
<span class="cm"> * by the plugin class.</span>
<span class="cm"> *</span>
<span class="cm"> * @property WidgetAnim.NAME</span>
<span class="cm"> * @static</span>
<span class="cm"> * @type String</span>
<span class="cm"> * @default &quot;pluginWidgetAnim&quot;</span>
<span class="cm"> */</span>
<span class="nx">WidgetAnim</span><span class="p">.</span><span class="nx">NAME</span> <span class="o">=</span> <span class="s2">&quot;pluginWidgetAnim&quot;</span><span class="p">;</span>

<span class="cm">/**</span>
<span class="cm"> * Pre-Packaged Animation implementations, which can be used for animShow and animHide attribute </span>
<span class="cm"> * values.</span>
<span class="cm"> *</span>
<span class="cm"> * @property WidgetAnim.ANIMATIONS</span>
<span class="cm"> * @static</span>
<span class="cm"> * @type Object</span>
<span class="cm"> * @default &quot;pluginWidgetAnim&quot;</span>
<span class="cm"> */</span>
<span class="nx">WidgetAnim</span><span class="p">.</span><span class="nx">ANIMATIONS</span> <span class="o">=</span> <span class="p">{</span>

    <span class="nx">fadeIn</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>

        <span class="kd">var</span> <span class="nx">widget</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">HOST</span><span class="p">),</span>
            <span class="nx">boundingBox</span> <span class="o">=</span> <span class="nx">widget</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">BOUNDING_BOX</span><span class="p">),</span>
            
            <span class="nx">anim</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">Anim</span><span class="p">({</span>
                <span class="nx">node</span><span class="o">:</span> <span class="nx">boundingBox</span><span class="p">,</span>
                <span class="nx">to</span><span class="o">:</span> <span class="p">{</span> <span class="nx">opacity</span><span class="o">:</span> <span class="mi">1</span> <span class="p">},</span>
                <span class="nx">duration</span><span class="o">:</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">DURATION</span><span class="p">)</span>
            <span class="p">});</span>

        <span class="c1">// Set initial opacity, to avoid initial flicker</span>
        <span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">widget</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">VISIBLE</span><span class="p">))</span> <span class="p">{</span>
            <span class="nx">boundingBox</span><span class="p">.</span><span class="nx">setStyle</span><span class="p">(</span><span class="nx">OPACITY</span><span class="p">,</span> <span class="mi">0</span><span class="p">);</span>
        <span class="p">}</span>

        <span class="c1">// Clean up, on destroy. Where supported, remove</span>
        <span class="c1">// opacity set using style. Else make 100% opaque</span>
        <span class="nx">anim</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="nx">DESTROY</span><span class="p">,</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">NODE</span><span class="p">).</span><span class="nx">setStyle</span><span class="p">(</span><span class="nx">OPACITY</span><span class="p">,</span> <span class="p">(</span><span class="nx">Y</span><span class="p">.</span><span class="nx">UA</span><span class="p">.</span><span class="nx">ie</span><span class="p">)</span> <span class="o">?</span> <span class="mi">1</span> <span class="o">:</span> <span class="nx">EMPTY_STR</span><span class="p">);</span>
        <span class="p">});</span>

        <span class="k">return</span> <span class="nx">anim</span><span class="p">;</span>
    <span class="p">},</span>

    <span class="nx">fadeOut</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">return</span> <span class="k">new</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">Anim</span><span class="p">({</span>
            <span class="nx">node</span><span class="o">:</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">HOST</span><span class="p">).</span><span class="nx">get</span><span class="p">(</span><span class="nx">BOUNDING_BOX</span><span class="p">),</span>
            <span class="nx">to</span><span class="o">:</span> <span class="p">{</span> <span class="nx">opacity</span><span class="o">:</span> <span class="mi">0</span> <span class="p">},</span>
            <span class="nx">duration</span><span class="o">:</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">DURATION</span><span class="p">)</span>
        <span class="p">});</span>
    <span class="p">}</span>
<span class="p">};</span>

<span class="cm">/**</span>
<span class="cm"> * Static property used to define the default attribute </span>
<span class="cm"> * configuration for the plugin.</span>
<span class="cm"> *</span>
<span class="cm"> * @property WidgetAnim.ATTRS</span>
<span class="cm"> * @type Object</span>
<span class="cm"> * @static</span>
<span class="cm"> */</span>
<span class="nx">WidgetAnim</span><span class="p">.</span><span class="nx">ATTRS</span> <span class="o">=</span> <span class="p">{</span>

    <span class="cm">/**</span>
<span class="cm">     * Default duration in seconds. Used as the default duration for the default animation implementations</span>
<span class="cm">     *</span>
<span class="cm">     * @attribute duration</span>
<span class="cm">     * @type Number</span>
<span class="cm">     * @default 0.2 (seconds </span>
<span class="cm">     */</span>
    <span class="nx">duration</span> <span class="o">:</span> <span class="p">{</span>
        <span class="nx">value</span><span class="o">:</span> <span class="mf">0.2</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Default animation instance used for showing the widget (opacity fade-in)</span>
<span class="cm">     * </span>
<span class="cm">     * @attribute animShow</span>
<span class="cm">     * @type Anim</span>
<span class="cm">     * @default WidgetAnim.ANIMATIONS.fadeIn</span>
<span class="cm">     */</span>
    <span class="nx">animShow</span> <span class="o">:</span> <span class="p">{</span>
        <span class="nx">valueFn</span><span class="o">:</span> <span class="nx">WidgetAnim</span><span class="p">.</span><span class="nx">ANIMATIONS</span><span class="p">.</span><span class="nx">fadeIn</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Default animation instance used for hiding the widget (opacity fade-out)</span>
<span class="cm">     *</span>
<span class="cm">     * @attribute animHide</span>
<span class="cm">     * @type Anim</span>
<span class="cm">     * @default WidgetAnim.ANIMATIONS.fadeOut</span>
<span class="cm">     */</span>
    <span class="nx">animHide</span> <span class="o">:</span> <span class="p">{</span>
        <span class="nx">valueFn</span><span class="o">:</span> <span class="nx">WidgetAnim</span><span class="p">.</span><span class="nx">ANIMATIONS</span><span class="p">.</span><span class="nx">fadeOut</span>
    <span class="p">}</span>
<span class="p">};</span>

<span class="nx">Y</span><span class="p">.</span><span class="nx">extend</span><span class="p">(</span><span class="nx">WidgetAnim</span><span class="p">,</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">Plugin</span><span class="p">.</span><span class="nx">Base</span><span class="p">,</span> <span class="p">{</span>

    <span class="cm">/**</span>
<span class="cm">     * The initializer lifecycle implementation. Modifies the host widget&#39;s </span>
<span class="cm">     * visibililty implementation to add animation.</span>
<span class="cm">     *</span>
<span class="cm">     * @method initializer</span>
<span class="cm">     * @param {Object} config The user configuration for the plugin  </span>
<span class="cm">     */</span>
    <span class="nx">initializer</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">config</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">_bindAnimShow</span><span class="p">();</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">_bindAnimHide</span><span class="p">();</span>

        <span class="k">this</span><span class="p">.</span><span class="nx">after</span><span class="p">(</span><span class="nx">ANIM_SHOW_CHANGE</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_bindAnimShow</span><span class="p">);</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">after</span><span class="p">(</span><span class="nx">ANIM_HIDE_CHANGE</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_bindAnimHide</span><span class="p">);</span>

        <span class="c1">// Override default _uiSetVisible method, with custom animated method</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">beforeHostMethod</span><span class="p">(</span><span class="nx">_UI_SET_VISIBLE</span><span class="p">,</span> <span class="k">this</span><span class="p">.</span><span class="nx">_uiAnimSetVisible</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * The initializer destructor implementation. Responsible for destroying the configured</span>
<span class="cm">     * animation instances.</span>
<span class="cm">     * </span>
<span class="cm">     * @method destructor</span>
<span class="cm">     */</span>
    <span class="nx">destructor</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">ANIM_SHOW</span><span class="p">).</span><span class="nx">destroy</span><span class="p">();</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">ANIM_HIDE</span><span class="p">).</span><span class="nx">destroy</span><span class="p">();</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * The injected method used to override the host widget&#39;s _uiSetVisible implementation with</span>
<span class="cm">     * an animated version of the same.</span>
<span class="cm">     *</span>
<span class="cm">     * &lt;p&gt;This method replaces the default _uiSetVisible handler</span>
<span class="cm">     * Widget provides, by injecting itself before _uiSetVisible,</span>
<span class="cm">     * and preventing the default behavior. &lt;/p&gt;</span>
<span class="cm">     *</span>
<span class="cm">     * @method _uiAnimSetVisible</span>
<span class="cm">     * @protected</span>
<span class="cm">     * @param {boolean} val true, if making the widget visible. false, if hiding it.</span>
<span class="cm">     */</span>
    <span class="nx">_uiAnimSetVisible</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">val</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">if</span> <span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">HOST</span><span class="p">).</span><span class="nx">get</span><span class="p">(</span><span class="nx">RENDERED</span><span class="p">))</span> <span class="p">{</span>
            <span class="k">if</span> <span class="p">(</span><span class="nx">val</span><span class="p">)</span> <span class="p">{</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">ANIM_HIDE</span><span class="p">).</span><span class="nx">stop</span><span class="p">();</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">ANIM_SHOW</span><span class="p">).</span><span class="nx">run</span><span class="p">();</span>
            <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">ANIM_SHOW</span><span class="p">).</span><span class="nx">stop</span><span class="p">();</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">ANIM_HIDE</span><span class="p">).</span><span class="nx">run</span><span class="p">();</span>
            <span class="p">}</span>
            <span class="k">return</span> <span class="k">new</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">Do</span><span class="p">.</span><span class="nx">Prevent</span><span class="p">();</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * The original Widget _uiSetVisible implementation. This currently needs to be replicated,</span>
<span class="cm">     * so it can be invoked before or after the animation starts or stops, since the original</span>
<span class="cm">     * methods is not available to the AOP implementation.</span>
<span class="cm">     *</span>
<span class="cm">     * @method _uiSetVisible</span>
<span class="cm">     * @param {boolean} val true, if making the widget visible. false, if hiding it.</span>
<span class="cm">     * @private</span>
<span class="cm">     */</span>
    <span class="nx">_uiSetVisible</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">val</span><span class="p">)</span> <span class="p">{</span>
        <span class="kd">var</span> <span class="nx">host</span> <span class="o">=</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">HOST</span><span class="p">),</span>
            <span class="nx">hiddenClass</span> <span class="o">=</span> <span class="nx">host</span><span class="p">.</span><span class="nx">getClassName</span><span class="p">(</span><span class="nx">HIDDEN</span><span class="p">);</span>

        <span class="nx">host</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">BOUNDING_BOX</span><span class="p">).</span><span class="nx">toggleClass</span><span class="p">(</span><span class="nx">hiddenClass</span><span class="p">,</span> <span class="o">!</span><span class="nx">val</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Binds a listener to invoke the original visibility handling when the animShow animation is started</span>
<span class="cm">     *</span>
<span class="cm">     * @method _bindAnimShow</span>
<span class="cm">     * @private</span>
<span class="cm">     */</span>
    <span class="nx">_bindAnimShow</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="c1">// Setup original visibility handling (for show) before starting to animate</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">ANIM_SHOW</span><span class="p">).</span><span class="nx">on</span><span class="p">(</span><span class="nx">START</span><span class="p">,</span> 
            <span class="nx">Y</span><span class="p">.</span><span class="nx">bind</span><span class="p">(</span><span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">_uiSetVisible</span><span class="p">(</span><span class="kc">true</span><span class="p">);</span>
            <span class="p">},</span> <span class="k">this</span><span class="p">));</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Binds a listener to invoke the original visibility handling when the animHide animation is complete</span>
<span class="cm">     *</span>
<span class="cm">     * @method _bindAnimHide</span>
<span class="cm">     * @private</span>
<span class="cm">     */</span>
    <span class="nx">_bindAnimHide</span> <span class="o">:</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
        <span class="c1">// Setup original visibility handling (for hide) after completing animation</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="nx">ANIM_HIDE</span><span class="p">).</span><span class="nx">after</span><span class="p">(</span><span class="nx">END</span><span class="p">,</span> 
            <span class="nx">Y</span><span class="p">.</span><span class="nx">bind</span><span class="p">(</span><span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
                <span class="k">this</span><span class="p">.</span><span class="nx">_uiSetVisible</span><span class="p">(</span><span class="kc">false</span><span class="p">);</span>
            <span class="p">},</span> <span class="k">this</span><span class="p">));</span>
    <span class="p">}</span>
<span class="p">});</span>

<span class="nx">Y</span><span class="p">.</span><span class="nx">namespace</span><span class="p">(</span><span class="s2">&quot;Plugin&quot;</span><span class="p">).</span><span class="nx">WidgetAnim</span> <span class="o">=</span> <span class="nx">WidgetAnim</span><span class="p">;</span>
</pre></div>

                    </div>
			</div>
		</div>
		<div class="yui-b">
            <div class="nav">

                    <div id="moduleList" class="module">
                        <h4>Modules</h4>
                        <ul class="content">
                                <li class=""><a href="module_align-plugin.html" title="align-plugin">align-plugin</a></li>
                                <li class=""><a href="module_anim.html" title="anim">anim</a></li>
                                <li class=""><a href="module_arraysort.html" title="arraysort">arraysort</a></li>
                                <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li>
                                <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
                                <li class=""><a href="module_autocomplete.html" title="autocomplete">autocomplete</a></li>
                                <li class=""><a href="module_base.html" title="base">base</a></li>
                                <li class=""><a href="module_cache.html" title="cache">cache</a></li>
                                <li class=""><a href="module_charts.html" title="charts">charts</a></li>
                                <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
                                <li class=""><a href="module_collection.html" title="collection">collection</a></li>
                                <li class=""><a href="module_console.html" title="console">console</a></li>
                                <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
                                <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
                                <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
                                <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
                                <li class=""><a href="module_datatable.html" title="datatable">datatable</a></li>
                                <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
                                <li class=""><a href="module_dd.html" title="dd">dd</a></li>
                                <li class=""><a href="module_dial.html" title="dial">dial</a></li>
                                <li class=""><a href="module_dom.html" title="dom">dom</a></li>
                                <li class=""><a href="module_dump.html" title="dump">dump</a></li>
                                <li class=""><a href="module_editor.html" title="editor">editor</a></li>
                                <li class=""><a href="module_escape.html" title="escape">escape</a></li>
                                <li class=""><a href="module_event.html" title="event">event</a></li>
                                <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
                                <li class=""><a href="module_event-gestures.html" title="event-gestures">event-gestures</a></li>
                                <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
                                <li class=""><a href="module_event-touch.html" title="event-touch">event-touch</a></li>
                                <li class=""><a href="module_event-valuechange.html" title="event-valuechange">event-valuechange</a></li>
                                <li class=""><a href="module_highlight.html" title="highlight">highlight</a></li>
                                <li class=""><a href="module_history.html" title="history">history</a></li>
                                <li class=""><a href="module_history-deprecated.html" title="history-deprecated">history-deprecated</a></li>
                                <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
                                <li class=""><a href="module_intl.html" title="intl">intl</a></li>
                                <li class=""><a href="module_io.html" title="io">io</a></li>
                                <li class=""><a href="module_json.html" title="json">json</a></li>
                                <li class=""><a href="module_jsonp.html" title="jsonp">jsonp</a></li>
                                <li class=""><a href="module_loader.html" title="loader">loader</a></li>
                                <li class=""><a href="module_node.html" title="node">node</a></li>
                                <li class=""><a href="module_node-flick.html" title="node-flick">node-flick</a></li>
                                <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
                                <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
                                <li class=""><a href="module_oop.html" title="oop">oop</a></li>
                                <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
                                <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
                                <li class=""><a href="module_pluginhost.html" title="pluginhost">pluginhost</a></li>
                                <li class=""><a href="module_pluginhost-base.html" title="pluginhost-base">pluginhost-base</a></li>
                                <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
                                <li class=""><a href="module_querystring.html" title="querystring">querystring</a></li>
                                <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li>
                                <li class=""><a href="module_recordset.html" title="recordset">recordset</a></li>
                                <li class=""><a href="module_resize.html" title="resize">resize</a></li>
                                <li class=""><a href="module_scrollview.html" title="scrollview">scrollview</a></li>
                                <li class=""><a href="module_scrollview-base.html" title="scrollview-base">scrollview-base</a></li>
                                <li class=""><a href="module_scrollview-base-ie.html" title="scrollview-base-ie">scrollview-base-ie</a></li>
                                <li class=""><a href="module_scrollview-paginator.html" title="scrollview-paginator">scrollview-paginator</a></li>
                                <li class=""><a href="module_scrollview-scrollbars.html" title="scrollview-scrollbars">scrollview-scrollbars</a></li>
                                <li class=""><a href="module_shim-plugin.html" title="shim-plugin">shim-plugin</a></li>
                                <li class=""><a href="module_slider.html" title="slider">slider</a></li>
                                <li class=""><a href="module_sortable.html" title="sortable">sortable</a></li>
                                <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
                                <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
                                <li class=""><a href="module_swf.html" title="swf">swf</a></li>
                                <li class=""><a href="module_swfdetect.html" title="swfdetect">swfdetect</a></li>
                                <li class=""><a href="module_tabview.html" title="tabview">tabview</a></li>
                                <li class=""><a href="module_test.html" title="test">test</a></li>
                                <li class=""><a href="module_text.html" title="text">text</a></li>
                                <li class=""><a href="module_transition.html" title="transition">transition</a></li>
                                <li class=""><a href="module_uploader.html" title="uploader">uploader</a></li>
                                <li class=""><a href="module_widget.html" title="widget">widget</a></li>
                                <li class="selected"><a href="module_widget-anim.html" title="widget-anim">widget-anim</a></li>
                                <li class=""><a href="module_widget-base-ie.html" title="widget-base-ie">widget-base-ie</a></li>
                                <li class=""><a href="module_widget-child.html" title="widget-child">widget-child</a></li>
                                <li class=""><a href="module_widget-locale.html" title="widget-locale">widget-locale</a></li>
                                <li class=""><a href="module_widget-parent.html" title="widget-parent">widget-parent</a></li>
                                <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
                                <li class=""><a href="module_widget-position-align.html" title="widget-position-align">widget-position-align</a></li>
                                <li class=""><a href="module_widget-position-constrain.html" title="widget-position-constrain">widget-position-constrain</a></li>
                                <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
                                <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
                                <li class=""><a href="module_yql.html" title="yql">yql</a></li>
                                <li class=""><a href="module_yui.html" title="yui">yui</a></li>
                        </ul>
                    </div>

                    <div id="classList" class="module">
                        <h4>Classes</h4>
                        <ul class="content">
                                <li class=""><a href="Plugin.WidgetAnim.html" title="Plugin.WidgetAnim">Plugin.WidgetAnim</a></li>
                        </ul>
                    </div>

                    <div id="fileList" class="module">
                        <h4>Files</h4>
                        <ul class="content">        
                                <li class="selected"><a href="WidgetAnim.js.html" title="WidgetAnim.js">WidgetAnim.js</a></li>
                        </ul>
                    </div>





            </div>
		</div>
	</div>
	<div id="ft">
        <hr />
        Copyright &copy; 2011 Yahoo! Inc. All rights reserved.
	</div>
</div>
<script type="text/javascript">

    var ALL_YUI_PROPS = [{"access": "", "host": "Plugin.WidgetAnim", "name": "animHide", "url": "Plugin.WidgetAnim.html#config_animHide", "type": "config"}, {"access": "", "host": "Plugin.WidgetAnim", "name": "animHideChange", "url": "Plugin.WidgetAnim.html#event_animHideChange", "type": "event"}, {"access": "", "host": "Plugin.WidgetAnim", "name": "animShow", "url": "Plugin.WidgetAnim.html#config_animShow", "type": "config"}, {"access": "", "host": "Plugin.WidgetAnim", "name": "animShowChange", "url": "Plugin.WidgetAnim.html#event_animShowChange", "type": "event"}, {"access": "private", "host": "Plugin.WidgetAnim", "name": "_bindAnimHide", "url": "Plugin.WidgetAnim.html#method__bindAnimHide", "type": "method"}, {"access": "private", "host": "Plugin.WidgetAnim", "name": "_bindAnimShow", "url": "Plugin.WidgetAnim.html#method__bindAnimShow", "type": "method"}, {"access": "", "host": "Plugin.WidgetAnim", "name": "destructor", "url": "Plugin.WidgetAnim.html#method_destructor", "type": "method"}, {"access": "", "host": "Plugin.WidgetAnim", "name": "duration", "url": "Plugin.WidgetAnim.html#config_duration", "type": "config"}, {"access": "", "host": "Plugin.WidgetAnim", "name": "durationChange", "url": "Plugin.WidgetAnim.html#event_durationChange", "type": "event"}, {"access": "", "host": "Plugin.WidgetAnim", "name": "initializer", "url": "Plugin.WidgetAnim.html#method_initializer", "type": "method"}, {"access": "protected", "host": "Plugin.WidgetAnim", "name": "_uiAnimSetVisible", "url": "Plugin.WidgetAnim.html#method__uiAnimSetVisible", "type": "method"}, {"access": "private", "host": "Plugin.WidgetAnim", "name": "_uiSetVisible", "url": "Plugin.WidgetAnim.html#method__uiSetVisible", "type": "method"}, {"access": "", "host": "Plugin.WidgetAnim", "name": "WidgetAnim.ANIMATIONS", "url": "Plugin.WidgetAnim.html#property_WidgetAnim.ANIMATIONS", "type": "property"}, {"access": "", "host": "Plugin.WidgetAnim", "name": "WidgetAnim.ATTRS", "url": "Plugin.WidgetAnim.html#property_WidgetAnim.ATTRS", "type": "property"}, {"access": "", "host": "Plugin.WidgetAnim", "name": "WidgetAnim.NAME", "url": "Plugin.WidgetAnim.html#property_WidgetAnim.NAME", "type": "property"}, {"access": "", "host": "Plugin.WidgetAnim", "name": "WidgetAnim.NS", "url": "Plugin.WidgetAnim.html#property_WidgetAnim.NS", "type": "property"}];
</script>
</body>
</html>
